package com.qili.mapper.it;

import com.qili.base.mapper.BaseMapper;
import com.qili.entity.it.Tree;
import com.qili.entity.supervisor.SupervisorFile;

import java.util.List;
import java.util.Map;

/**
 * @author liuyang
 * @date 2021/3/18
 * @description
 */
public interface ItDicMapper extends BaseMapper<SupervisorFile,String> {

    List<SupervisorFile> selectDicContent(Map paraMap);

    List<Tree> selectAllDic();

    List<Tree> getAllDicSeted(Map paraMap);

    List<Map> selectDicRoleList(String id);

    List<SupervisorFile> getFirst(Map paraMap);

    List<Tree> getFirstForTree(Map paraMap);

    List<SupervisorFile> getSecond(Map paraMap);

    List<SupervisorFile> getThird(Map paraMap);

    void addDownloadCount(String fileId);

    void addpageViewCount(String fileId);
}
